function [ area ] = convHullArea(image)
    % find the coordinates that has values rather than 0
    [a, b] = find(image);
    % get the convex hull that covers all the points of the shape
    ach = convhull (a ,b);
    area = polyarea(a(ach) , b(ach));
end

